package com.jia.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jia.mapper.MyUserMapper;
import com.jia.mapper.RoleAuthorityMapper;
import com.jia.pojo.RoleAuthority;
import com.jia.service.RoleAuthorityService;
import com.jia.vo.RoleList;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 贾宇光
 * @version 1.0
 * @date 2020/9/18 7:57
 */
@Service
public class RoleAuthorityServiceImpl extends ServiceImpl<RoleAuthorityMapper, RoleAuthority> implements RoleAuthorityService {
    @Autowired
    RoleAuthorityMapper roleAuthorityMapper;

    @Override
    public List<RoleList> queryRoleAuthority(int rid) {
        return roleAuthorityMapper.queryRoleAuthority(rid);
    }
}
